<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\Route;
Route::rule([
    'batch/batchList'=>'api/batch/batchList',
    'batch/delete'=>'api/batch/delete',
    'batch/rename'=>'api/batch/rename',
    'member/zone'=>'api/member/memory',
    'batch/createFolder'=>'api/batch/createFolder',
    'Upload/conf'=>'api/Upload/conf',
    'Upload/checkfile'=>'api/Upload/checkfile',
    'd'=>'api/batch/Download',



    'Upload/block'=>'api/Upload/chunk',
    'Upload/mkfile/:fileSize/key/:keyValue/fname/:fname/path/:path'=>'api/Upload/mkFile',
    's/:key'=>'api/Share/index',
    'Share/Download/:key'=>'api/Share/Download',
    'Share/Preview/:key'=>'api/Share/Preview',
    'Share/ListFile/:key'=>'api/Share/ListFile',
    'Login'=>'api/Member/LoginForm',
    'Member/emailActivate/:key'=>'api/Member/emailActivate',
    'Member/resetPwd/:key'=>'api/Member/resetPwd',
    'Callback/Payment/Jinshajiang' => 'api/Callback/Jinshajiang',
    'Explore/S/:key' => 'api/Explore/S',
    'Member/Avatar/:uid/:size' => ['Member/Avatar',[],['uid'=>'\d+']],
    'Profile/:uid' => ['Profile/index',[],['uid'=>'\d+']],
    'Callback/Payment/Jinshajiang' => 'api/Callback/Jinshajiang',
]);